/**
 * @filename:JobLog 2022-9-28
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.admin.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.FieldFill;

/**   
 * @Description:TODO(任务日志实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_job_log")
@ApiModel(value="sys_job_log对象", description="任务日志表")
public class JobLog extends Model<JobLog> {

	private static final long serialVersionUID = 1664335117994166L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "job_name") 	
	@ApiModelProperty(name = "job_name" , value = "任务名称")
    private String job_name;
    
    @TableField(value = "job_group") 	
	@ApiModelProperty(name = "job_group" , value = "任务组名")
    private String job_group;
    
    @TableField(value = "module") 	
	@ApiModelProperty(name = "module" , value = "执行模块")
    private String module;
    
    @TableField(value = "invoke_target") 	
	@ApiModelProperty(name = "invoke_target" , value = "调用目标字符串")
    private String invoke_target;
    
    @TableField(value = "job_message") 	
	@ApiModelProperty(name = "job_message" , value = "日志信息")
    private String job_message;
    
    @TableField(value = "status") 	
	@ApiModelProperty(name = "status" , value = "执行状态")
    private Integer status;
    
    @TableField(value = "exception_info") 	
	@ApiModelProperty(name = "exception_info" , value = "异常信息")
    private String exception_info;
    
	@TableField(value = "create_time",fill=FieldFill.INSERT) 
	@ApiModelProperty(name = "create_time" , value = "创建时间")
    private Date create_time;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
